.bat file and \My Documents\My Music
Thanks for taking the time to read my question.
I have a backup .bat file that I run to backup my XP PC. Works well. I now have to make that .bat file work on a Win7 PC. It works ok, except when it gets to the portion where it needs to xcopy the contents of My Documents (which is really called Documents
why?). My script tries to copy the hidden file, which looks like a shortcut, "My Music", "My Pictures" and "My Video".
What is the point of these hidden files? Are they just shortcuts, or are they the folders that really hold the data, and the "My Music", "My Pictures" and "My Video" under the Users\%username% folder are just shortcuts?
How do I get around the error in my .bat file?
Thanks,
Brad
July 15th, 2011 12:03pm
On Thu, 14 Jul 2011 16:24:02 +0000, mbrad wrote:
Thanks for taking the time to read my question.
I have a backup .bat file that I run to backup my XP PC. Works well. I now have to make that .bat file work on a Win7 PC. It works ok, except when it gets to the portion where it needs to xcopy the contents of My Documents (which is really called Documents
why?).
Why did they change the name from "My Documents" to "Documents"? I
don't know why they did it, but one of my biggest complaints with
Microsoft is that they have a long history of doing things like that
and confusing their users.
To me, it's not a question of which is the better name. It's almost
always better to leave a name alone than to change it and thereby
confuse people.
My script tries to copy the hidden file, which looks like a shortcut, "My Music", "My Pictures" and "My Video".
What is the point of these hidden files? Are they just shortcuts, or are they the folders that really hold the data, and the "My Music", "My Pictures" and "My Video" under the Users\%username% folder are just shortcuts?
They are called "junction points," not "shortcuts," but they are
similar in concept.
Ken Blake, Microsoft MVP
Free Windows Admin Tool Kit Click here and download it now
July 15th, 2011 2:04pm
Hmm so now I need to find out what the point is of a "Junction Point"
Thanks for the reply Ken.
Have a great day.
Brad
July 15th, 2011 2:09pm
On Thu, 14 Jul 2011 18:29:31 +0000, mbrad wrote:
Hmm so now I need to find out what the point is of a "Junction Point"
Thanks for the reply Ken.
Have a great day.
You're welcome and you too. Read here for more info about a junction
point:
http://en.wikipedia.org/wiki/NTFS_junction_point
Ken Blake, Microsoft MVP
Free Windows Admin Tool Kit Click here and download it now
July 15th, 2011 5:31pm